package com.qtu.order_service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qtu.entity.BmInorderlist;
import com.qtu.order_service.entity.AllOrder;
import com.qtu.order_service.entity.BmmemberOrder;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2020-07-06
 */
public interface BmInorderlistService extends IService<BmInorderlist> {
    /**
     * 查询全部订单
     * @param
     * @param
     * @return
     */
    public List<AllOrder> getAllOrder(Integer sellerId);

    /**
     * 查询待支付订单
     * @param
     * @param
     * @return
     */
    public List<AllOrder> getPayment(Integer sellerId);

    /**
     * 查询待发货订单
     * @param
     * @param
     * @return
     */
    public List<AllOrder> getDeliverGoods(Integer sellerId);

    /**
     * 查询待收货订单
     * @param
     * @param
     * @return
     */
    public List<AllOrder> getReceivingGoods(Integer sellerId);

    /**
     * 查询已完成订单
     * @param
     * @param
     * @return
     */
    public List<AllOrder> getCompleted(Integer sellerId);

    /**
     * 订单详情
     * @param
     * @return
     */
    public List<BmmemberOrder> getDetails(Integer orderId);
}
